﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.Decorator.StudentStudy.Models
{
    /// <summary>
    /// 上厕所
    /// </summary>
    public class StudentInherit: Student
    {
        public override void Study()
        {
            base.Study();
            Console.WriteLine("学习完了，上个厕所");
        }
    }
}
